package top.heue.utils.log.handler

import top.heue.utils.log.L.string
import top.heue.utils.log.base.BaseHandler

class ThrowableHandler : BaseHandler<Throwable>() {
    override val priority: Int = -1
    override fun canHandle(any: Any?): Boolean = any is Throwable
    override fun handle(any: Throwable): String {
        return any.string
    }
}